class course:
    def __init__(self):
        pass
    def showInfo(self):
        print("正在学习")
class AI:
    def __init__(self):
        pass
    def showInfo(self):
        print("正在学习AI")
class Linux(course):
    def __init__(self):
        super().__init__()
    def showInfo(self):
        print("正在学习Linux")
class Math(course):
    def __init__(self):
        super().__init__()
    def showInfo(self):
        print("正在学习math")
class Grilfriend():
    def __init__(self, name):
        self.name = name
    def study(self, study_course):
        study_course.showInfo()
math = Math()
math.showInfo()
ai = AI()
ai.showInfo()
study_course = Linux()
girlfriend = Grilfriend("球球")
girlfriend.study(study_course)